dxp-ux

(0 reviews)

8gh-0o9/GET all Payments (TMF-676)

listPayment

This operation retrieves the payment history by using account number.

This operation is towards

  1. LCPR: Aria, Matrixx, CSG.
  2. Panama: Liberate
  3. LC markets (JM,VC,LC,GD,AG,BB,TC,KY,AI,KN,MS,VG,TT,CW,DM): Liberate, Cerillion, Amdocs
Request URL
https://[localhost]:[port]/dxp-ux/v1/{businessId}/payment
URL PARAMS
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y
namevaluedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
client_idstringThe client_id identifying the channel. Minimum characters: 5Y(PR, PA,LC)
client_secretstringPassword associated with the client_id. Minimum characters: 5Y(PR, PA,LC)
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.Y(PR, PA,LC)
channelIdstringChannel to business Allowed Value : APPY(PR) N/A(PA, LC)
lobstringThe Line of Business Identifier Allowed ENUM values: FIXED, PREPAID, POSTPAIDY (PR. For Matrixx not in scope) N/A(PA, LC)
targetSystemstringExpected target system: csg, matrixx, ariaY (PR) N/A(PA, LC)
Query Param
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
account_nostringTo retrieve the payments from a specific accountY(PR, PA, LC)
startDateDateTimeTo retrieve the payments performed after this dateN(PR, PA, LC)
endDateDateTimeTo retrieve the payments performed before this dateN(PR, PA, LC)
paymentItem.referredTypestringTo retrieve the payments from a specific referredType Possible values are: history, planDetails, plansByAcct, receipt, deposits, depositDetails, items, summaryN/A (PR, CWC - Cerillion, Amdocs)
N(PA, LC- Liberate)
Data Model
Response Data Model
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
idstringUnique identifier of PaymentY(PR, PA , LC)
descriptionstringText describing the contents of the paymentN(PR) Y(PA), N/A(LC)
correlatorIdstringUnique identifier in the client for the payment in case it is needed to correlateN(PR) Y(PA) N(LC)
statusstringStatus of the paymentN(PR)
Y(PA, LC- Liberate, Cerillion),
N/A (LC-Amdocs)
statusDatedatetime or stringDate when the status was recorded Note for PA: This field type is stringN(PR) Y(PA,LC)
namestringScreen name of the paymentN(PR, LC- Liberate) Y(PA), N/A (LC- Cerillion, Amdocs)
paymentDatedatetime or stringDate when the payment was performed Note for PA: This field type is stringN(PR) Y(PA, LC)
channelobjectThe channel to which the resource referenceN (LC- Liberate, Cerillion ), N/A (LC- Amdocs)
channel.idstringUnique identifier of the channelN (LC- Liberate, Cerillion ), N/A (LC- Amdocs)
channel.'@referredType'stringThe actual type of the target instance when needed for disambiguationN (LC- Liberate, Cerillion ), N/A (LC- Amdocs)
extendedCharacteristics[]arrayRepresents additional attributes of payment entityN(PR) N/A(PA,LC)
extendedCharacteristics[].namestringname of the additional attributes (ex: "paymentDate", "procStatusCode")N(PR) N/A(PA,LC)
extendedCharacteristics[].valuestringvalue of the additional attributes(ex: "2023-06-09", 100)N(PR) N/A(PA, LC)
accountobjectAccount reference. A account may be a party account or a financial account.N(PR) Y(PA, LC)
account.idstringUnique identifier of the accountN(PR) Y(PA, LC)
account.@typestringWhen sub-classing, this defines the sub-class entity nameN(PR,LC) N/A(PA)
account.namestringName of the accountY(PA), N(PR, LC- Liberate, Amocs), N/A (LC- Cerillion)
account.descriptionstringDetailed description of the accountN/A(PR) Y(PA), N/A(LC)
amountobjectA base / value business entity used to represent moneyN(PR,LC) N/A(PA)
amount.valuenumberA positive floating point numberN(PR,LC) N/A(PA)
amount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N(PR) N/A(PA, LC)
amount.amountnumberA positive floating point numberN(PR) N/A(PA, LC)
paymentMethodobjectlink to the resource that holds information about the payment mean used to complete the operationY(PR, PA, LC)
paymentMethod.idstringUnique Identifier within the server for the payment method.N(PR) N/A(PA, LC)
paymentMethod.@typestringWhen sub-classing, this defines the sub-class entity nameN(PR) Y(PA, LC)
paymentMethod.detailsobjectDetails of payment methodN(PR) N/A(PA,LC)
paymentMethod.details.typestringType of payment methodN(PR) N/A(PA,LC)
paymentMethod.details.cardNumberstringCard NumberN(PR) N/A(PA, LC)
paymentMethod.details.expirationDatestringCard Expiry DateN(PR) N/A(PA, LC)
paymentItem[]arrayThe paymentItem is the result of lettering process. It enables to assign automatically or manually part of incoming payment amount to a billN(PR) Y(PA,LC)
paymentItem[].totalAmountobjectA base / value business entity used to represent moneyN(PR) Y(PA,LC)
paymentItem[].totalAmount.amountnumberA positive floating point numberN(PR) N/A(PA, LC)
paymentItem[].totalAmount.valuenumberA positive floating point numberN/A(PR) Y(PA, LC)
paymentItem[].itemobjectEntity reference schema to be use for all entityRef class.N(PR) Y(PA, LC)
paymentItem[].item.idstringUnique identifier of a related entity.N(PR) N/A(PA, LC- Amdocs), Y(LC- Liberate, Ceriilion)
paymentItem[].item.referredTypestringThe actual type of the target instance when needed for disambiguation.N(PR) N/A(PA, LC)
paymentItem[].item.@referredTypestringThe actual type of the target instance when needed for disambiguation.N/A(PR) Y(PA, LC)
itemobjectReference where to get more information about the entity with another API callN(PR) N/A(PA, LC- Liberate, Amdocs), Y(CWC- Cerillion)
item.referredTypestringThe actual type of the target instance when needed for disambiguation.N(PR) N/A(PA, LC)
item.'@referredType'stringThe actual type of the target instance when needed for disambiguation.N(PR) N/A(PA, LC- Liberate, Amdocs), Y(LC- Cerillion)
item.idstringUnique identifier of a related entity.N(PR) N/A(PA, LC- Liberate, Amdocs), Y(CWC- Cerillion)
refund[]arrayarray for the refund detailsN(PR) N/A(PA, LC)
refund[].idstringRefunded id (unique) from matrixxN(PR) N/A(PA, LC)
refund[].totalAmountobjectrefund amount detailsN(PR) N/A(PA, LC)
refund[].totalAmount.valuenumberrefund amount valueN(PR) N/A(PA, LC)
refund[].totalAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N(PR) N/A(PA,LC)
refund[].statusstringstaus of the refund(ex: refunded)N(PR) N/A(PA, LC)
refund[].refundDatedatetimeDate of the refundN(PR) N/A(PA, LC)
refund[].@typestringWhen sub-classing, this defines the sub-class entity name(ex: "RefundRef")N(PR) N/A(PA, LC)
totalAmountobjectA base / value business entity used to represent moneyN(PR) Y(PA, LC)
totalAmount.valuenumberA positive floating point numberN(PR) Y(PA, LC)
totalAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N(PR, LC) N/A(PA)
totalAmount.amountnumberA positive floating point numberN(PR) N/A(PA, LC)
taxAmountobjectA base / value business entity used to represent moneyN(PR,LC- Cerillion, Amdocs) N/A(PA, LC-Liberate)
taxAmount.amountnumberA positive floating point numberN(PR, LC - Cerillion) N/A(PA)
taxAmount.valuenumberValue of the tax amountN/A(PR, PA, LC-Liberate), N(LC- Cerillion, Amdocs)
@typestringWhen sub-classing, this defines the sub-class entity nameN(PR) N/A(PA, LC)
paymentItem subResource - dataModel
@referredTypetypedescriptionrequired(mandatory-Y, optional-N, Not applicable- N/A)examples
paymentstringThe actual type of the target instance when needed for disambiguation.Y(PA), N(CWC)PA: { "item": { "@referredType": "payment"}}
LC: { "totalAmount": { "amount": 3650 }, "item": { "referredType": "payment" } }
depositstringThe actual type of the target instance when needed for disambiguation.Y(PA), N(CWC)PA: {"item": { "@referredType": "deposit"}}
LC: { "totalAmount": { "amount": 0 }, "item": { "referredType": "deposit" } }
extendedCharacteristics subResource - dataModel
resource characteristic nametypedescriptionrequired(mandatory-Y, optional-N, Not applicable- N/A)examples
procStatusCodestringResponse code from payment processor (Braintree). Possible Values will be :1000(Approved), 4001(settlement_declined), 4000(settled), 81706(CVV is required), ARIA COMM 1 (voided payment), etc...N(PR) N/A(PA, LC)PR: { "name": "procStatusCode", "value": "1000" }
paymentDatestringProcessor payment dateN(PR) N/A(PA, LC)PR: { "name": "paymentDate", "value": "2024-02-13" }
procPaymentIdstringThe processor payment IDN(PR) N/A(PA, LC)PR: { "name": "procPaymentId", "value": "bkh04029" }
paymentMethodNostringProcessor payment method numberN(PR) N/A(PA, LC)PR: { "name": "paymentMethodNo", "value": "1" }
procStatusTextstringPayment processor status text is returned The possible payment status is either 'Approved or settled or Settlement Pending or External Payment or Cash Credit or Insufficient Funds or fail or {Unknown}N(PR) N/A(PA, LC)PR: { "name": "procStatusText", "value": "Approved" }
Key considerations
PA Implementation
1. This implementation retrieves the payment history for FIXED, POSTPAID accounts.
2. To retrieve payment history for a specific duration, startDate and endDate queryParameters must be passed.
3. If the dates are not specified in queryParams, the API returns history of last one year by default.
4. Description field provides the billReferenceNumber.
5. statusDate field is the enteredDate in Liberate.
6. name field gives the name value which is sent during creating the payment (ThirdPartySource).
7. correlatorId field gives the correlatorId value which is sent during creating the payment (ThirdPartyPaymNo).
8. status possible values are "Returned" or "Success".
9. By default, payment history is retrieved if 'paymentItem.referredType' queryParam is not provided; if specified, it must be sent as "history"
10. For all the dateTime fields
   - Any datetime before 1908-04-22 will show offset -05:18
   - Any datetime on or after 1908-04-22 will show offset -05:00
LC Implementation
1. This implementation retrieves the payment history for FIXED, POSTPAID accounts.
2. To retrieve payment history for a specific duration, startDate and endDate queryParameters must be passed.
3. If the dates are not specified in queryParams, the API returns history of last one year by default.
4. "name" field gives the name value which is sent during creating the payment (ThirdPartySource).
5. correlatorId field gives the correlatorId value which is sent during creating the payment (ThirdPartyPaymNo).
6. "status" possible values are "Returned" or "Success" or "Processing" (If there any pending transactions in Redmond).
7. "id" field refers to the payment number.
8. paymentItem[].item.id refers to the bill reference number.
9. By default for liberate, payment history is retrieved if 'paymentItem.referredType' queryParam is not provided; if specified, it must be sent as "history"
10. For all the dateTime fields for JM,
   - Any datetime before 1912-02-01 will show offset -05:07
   - Any datetime on or after 1912-02-01 will show offset -05:00

Possible values for payment methods for liberate:

Payment MethodDescription
(Online Payments
*IVR Credit Card
_Eservice Credit Card
0** COMVERSE PAYMENT
<ECOMMERCE VISA CARD
>Portal Credit Card
@Recurrng Credit Card
ACANADIAN
CCASH
DDIRECT DEBIT
ECREDIT CARD
FDEBIT CARD
GCUSTOMER DISCOUNT
HDEALOR PAYMENTS
IEcommerce VISA Card
KIVR Credit Card
LM-Wallet
MMANAGER'S CHEQUE
NC&W Online
OOTHER / SUNDRY
PCANADIAN
QCHEQUE
RREDEEM REWARD POINTS
Ssalary deduction
TGCT Withholding TaxC
UU.S. DOLLARS
VBritish Pound
WWire Transfer Paymen
XStaff Bill Payment
YCAYMAN DOLLARS
|Mobile BillPay App
}Ecommerce MasterCard

Get Payment Plans

This API allows consumer to returns the list of payment plans on the account.

URL
https://[localhost]:[port]/dev/dxp-ux/dxp-ux/v1/{businessId}/payment
url Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.Y
Query Param
nametypedescriptionrequired
account.idstringBAN-CAN ( client_acct_id )Y
cURL request
curl --location 'https://nonprod.esb.cloud.lla.com/dev/dxp-ux/dxp-ux/v1/PR/payment?account.id=DAVE2025062416' \
--header 'X-Correlation-ID: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92c2b' \
--header 'client_id: 784c9a6dd7ae49768816cab57fcf1fa1' \
--header 'client_secret: 187b259EB77441babbF611d2646C670d'
Definitions

Each of the request parameters is detailed.

nametypedescriptionrequired
idstringAria-assigned payment plan no.N
statusstringSpecifies the other status of payment plan (active, completed, or cancelled).N
paymentItemarrayN
paymentItem.itemobjectN
paymentItem.item.idstringClient-defined unique payment plan ID.N
paymentItem.item.namestringPayment plan name.N
paymentItem.amountobjectSpecifies the balance to be paid by the payment plan at time of payment plan creation. Specifies the remaining balance to be paid by the payment plan at the time of the API call. The paid amount of payment plan at the time of the API call.N
paymentItem.amount.valuenumberContains the balance of either 'InitialBalance', 'RecurringAmount', or 'PaidAmountN
paymentItem.amount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
paymentItem.@referredTypestringBalance differentiatorN
paymentMethodobjectHolds information about the payment plan accountsN
paymentMethod.accountarraylist of payment plan accountsN
paymentMethod.account.idstringunique account id Please refer below 'paymentMethod account values' table for more detailsN
paymentMethod.account.namestringname of the accountN
extendedCharacteristicarrayDescribes the characteristic of a payment planN
extendedCharacteristic.namestringName of the characteristicN
extendedCharacteristic.valueanyValue of the of the characteristicN
extendedCharacteristic.valueTypestringData type of the characteristicN
@typestringThis defines the sub-class entity name, in this case 'PaymentPlan'N
paymentMethod account values
paymentMethod account nametypedescriptionrequired
ClientBillingGroupIdstringClient-defined billing group ID.N
AlignedPaymentPlanClientMasterPlanInstanceIdstringThe client-defined unique identifier for master plan instance that will be used to communicate upcoming payment due. Mandatory when payment_plan_type = 0.N
extendedCharacteristic values
extendedCharacteristic nametypedescriptionrequired
PaymentPlanDescriptionstringPayment plan description.N
PaymentPlanCreateDatestringDate when payment plan created.N
FirstPaymentPlanDueDatestringThe date of the first payment plan will be due.N
LastPaymentPlanDueDatestringThe date of the last payment plan will be due.N
PaymentPlanTypenumberSpecifies the payment plan type for the account. Allowable values are: 0 - Aligned with an existing master plan instance anniversary statement or 1 - Independent, its own payment plan schedule and due dates.N
PaymentPlanLengthnumberSpecifies the length of payment plan. For payment_plan_type = 1, the input will be used jointly with payment_plan_interval. For payment_plan_type = 0, it is the number of MPI statements that the payment plan will be part of.N
TransactionOnPaymentPlanListarrayA list of transactions on a payment plan. Please refer below 'transaction_on_payment_plan_list array values' table for more detailsN
transaction_on_payment_plan_list array values
extendedCharacteristic nametypedescriptionrequired
transactionCreateDatestringThe creation datetime of this transaction.N
transactionIdnumberUnique transaction ID.N
invoiceNonumberThe Aria-assigned unique identifier for invoices.N

Reviews